﻿using BackupContracts.Tasks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BackupContracts.Sql
{
    public class SqlBackupTaskAction : TaskAction
    {
        private SqlDatabase _Database;
        public SqlDatabase Database
        {
            get { return _Database; }
            set { SetField(ref _Database, value, () => Database); }
        }

        private DateTimeOffset _LastBackup;
        public DateTimeOffset LastBackup
        {
            get { return _LastBackup; }
            set { SetField(ref _LastBackup, value, () => LastBackup); }
        }
    }
}
